	<!-- BEGIN PAGE -->
	<div class="page-content">
         <!-- BEGIN PAGE CONTAINER-->        
         <div class="container-fluid">
            <!-- BEGIN PAGE HEADER-->
			<div class="row-fluid">
				<div class="span12"> 
					<!-- BEGIN PAGE TITLE & BREADCRUMB-->			
					<h3 class="page-title">
						Agama <small>pengaturan agama</small>
					</h3>
					<ul class="breadcrumb">
						<li>
							<i class="icon-cogs"></i>
							Data Master		
							<i class="icon-angle-right"></i>
						</li>
						<li>Agama</li>	
					</ul>
					<!-- END PAGE TITLE & BREADCRUMB-->
				</div>
            </div>
            <!-- END PAGE HEADER-->
            <!-- BEGIN PAGE CONTENT-->          
            <div class="row-fluid">
               <div class="span12">
                  <!-- BEGIN SAMPLE TABLE PORTLET-->
                  <div class="portlet box blue">
                     <div class="portlet-title">
                        <div class="caption"><i class="icon-cogs"></i>List Agama</div>
						<div class="tools">
                           <a href="<?php echo base_url()?>agama/form" class="btn blue"><i class="icon-plus"></i> Tambah</a>
                        </div>
                     </div>
                     <div class="portlet-body flip-scroll">
                        <table class="table table-bordered table-striped table-condensed flip-content table-hover">
							<thead class="flip-content">
								<tr>
									<tr>
										<th align="center">ID</th>
										<th align="center">Nama Agama</th>
										<th align="center">urutan</th>
										<th align="center">Action</th>
									</tr>
								</tr>
							</thead>
                           <tbody>
								<?php
									foreach($agama->result_array() as $row){
										echo "<tr>";
										echo "<td>$row[agama_id]</td>";
										echo "<td>$row[agama]</td>";
										echo "<td>$row[urutan]</td>";
										echo "<td align='center'>
										<a href=\"".base_url()."agama/form/".encode($row['agama_id'])."\" title=\"Edit\" class=\"btn mini green\"><i class=\"icon-edit\"></i> Edit</a>
										<a href=\"".base_url()."agama/delete/".encode($row['agama_id'])."\" title=\"Hapus\" class=\"btn mini red\" onClick=\"return confirm('Data akan dihapus. Lanjutkan ?')\"><i class=\"icon-trash\"></i> Hapus</a>
										</td>";
										echo "</tr>";
									}
								?>
                           </tbody>
                       </table>
                     </div>
                  </div>
                  <!-- END SAMPLE TABLE PORTLET-->
               </div>              
            </div>
           
            <!-- END PAGE CONTENT-->
         </div>
         <!-- END PAGE CONTAINER-->
    </div>
    <!-- END PAGE -->
	<?php $this->load->view('template/messages'); ?>